package com.lanyam.travel.base.utils;

public class Constant {
	public static final int ROLE_NORMAL_USER = 0;
	public static final int PRODUCT_TYPE_TRAVEL_LINE_IN = 3;
	public static final int PRODUCT_TYPE_TRAVEL_LINE_OUT =2;
	public static final int PRODUCT_TYPE_HOTEL = 1;
	public static final int PRODUCT_TYPE_SCENIC = 0;
	public static final int STATUS_NOT_START = 0;
	public static final int STATUS_RUNNING = 1;
	public static final int STATUS_STOP = -1;
	/**
	 * 订单未支付
	 */
	public static final int ORDER_STATUS_UNPAY = 0;
	/**
	 * 订单已支付
	 */
	public static final int ORDER_STATUS_PAYED = 1;
	/**
	 * 订单已出行/订单审核通过
	 */
	public static final int ORDER_STATUS_CHECKED = 2;
	public static final String PHONE_VALIDATE_CODE = "phone_validate_code";
	public static final String USER_REDIS_SESSION = "user_redis_session";
	public static final String MESSAGE_TEMPLATE_NAME_NOTE = "note";
	public static final String MESSAGE_TEMPLATE_NAME_BAND = "band";
	public static final String MESSAGE_TEMPLATE_NAME_MODIFY_PASSWORD = "modify_password";
	public static final String MESSAGE_TEMPLATE_NAME_ERROR = "template_name_incorrect";
	 /**
     * 阿里云短信服务所需参数
     */
	public static final String SIGN_NAME = "澄旅国际";
	public static final String ACCESS_KEY_ID = "LTAI4FjLMhcn9TYt2JEJQWg7";
	public static final String ACCESS_SECRET = "0zP0uXVdEu1DC0loZTO67XyugUZUDQ";
    //通知模板code
	public static final String NOTICE_TEMPLATE_CODE = "SMS_180342369";
    //绑定账户模板code
	public static final String BINDING_TEMPLATE_CODE = "SMS_180945859";
    //修改密码模板code
	public static final String UPDATE_PASSWORD_TEMPLATE_CODE = "SMS_180945860";
    /**
     * 应用对应的凭证
     */
    public static final String APP_SECRET="9111516f4b779b47554e8b751e07e20b";
    /**
     * 应用对应的密钥
     */
    public static final String APP_KEY="****************";
    /**
     * 商品描述
     */
    public static final String BODY="充值";

    /**
     * 商户id
     */
    public static final String PARTNER_ID="*******"; 
    /**
     * 常量固定值
     */
    public static final String GRANT_TYPE="client_credential";
    /**
     * 微信服务器查询订单url
     */
    public static final String ORDER_QUERY="https://api.mch.weixin.qq.com/pay/orderquery";
    //小程序appid
    public static final String APP_ID = "wxb2b4980b51047e76";
    //微信支付的商户id
	public static final String MCH_ID = "1572746421";
	//微信支付的商户密钥
	public static final String key = "2Ef71gi3T8LYOoJgrsQqL9P2bcSW10lk";
	//支付成功后的服务器回调url
//	public static final String NOTIFY_URL = "http://www.smdcfw.com:8080/travel/order/wxNotify";
	public static final String NOTIFY_URL = "http://192.168.0.107:8080/travel/order/wxNotify";
	//签名方式，固定值
	public static final String SIGNTYPE = "MD5";
	//交易类型，小程序支付的固定值为JSAPI
	public static final String TRADETYPE = "JSAPI";
	//微信统一下单接口地址
	public static final String PAY_URL = "https://api.mch.weixin.qq.com/pay/unifiedorder";
	//微信提现接口
	public static final String WITHDRAW_PAY_URL = "https://api.mch.weixin.qq.com/mmpaymkttransfers/promotion/transfers";
	/**
	 * 退款申请的url
	 */
	public static final String REFUND_URL = "https://api.mch.weixin.qq.com/secapi/pay/refund";
	//退款成功后的服务器回调url
	public static final String REFUND_CALLBACK_URL = "http://192.168.0.107:8080/travel/refund/refundCallback";
	/**
	 * 预售门票的天数
	 */
	public static final int TICKET_DAYS = 540;
	/**
	 * 保存文件的路径，需要与WebConfig中的路径一致
	 */
	public static final String FILE_UPLOAD_BASE_URI = "G:/travel";
//	public static final String FILE_UPLOAD_BASE_URI = "/usr/local/travel";
}
